<template>
    <div class="text_418X1" v-for="(item ,index) in Texts" :key="index"> <span class="text_789">{{item}}</span>
    </div>
    <div class="text_417 ">热门搜索</div>
    <div class="text_417X1">历史记录</div>
</template>
<script setup>
import {useNearbySearch2} from '@/hooks/useNearby'
const {Texts} = useNearbySearch2()
</script>
<style lang="scss" scoped>
.text_418X1 {
    margin-top: 130px;
    margin-left: 75px;
}

.text_789 {
    float: left;
    padding: 0 20px;
    margin-right: 42px;
    margin-bottom: 20px;
    // width: 125px;
    height: 51px;
    color: #383838;
    border-radius: 16px;
    font-size: 23px;
    line-height: 269%;
    border: #f3f3f3 solid 2px;
    text-align: center;
}

.text_417 {
    width: 104px;
    height: 51px;
    position: fixed;
    left: 75px;
    top: 190px;
    color: #a6a6a6;
    font-size: 23px;
    line-height: 110%;
    text-align: center;
}

.text_417X1 {
    width: 104px;
    height: 51px;
    position: fixed;
    left: 75px;
    top: 510px;
    color: #a6a6a6;
    font-size: 23px;
    line-height: 110%;
    text-align: center;
}
</style>